package com.zf.dao;

import com.zf.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    //查询全部用户
    List<User> getUserList();

    @Select("select * from mybatis.user")
    List<User> getUsers();

    List<User> getUserByLimit(Map<String, Object> map);

    List<User> getUserByRowBounds(Map<String, Object> map);

}
